package com.qiao.glod.application;

import android.app.Application;
import android.content.res.Resources;
import android.os.Handler;

import com.raizlabs.android.dbflow.config.FlowManager;

/**
 * Created by Administrator on 2016/4/6.
 */
public class QApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        AppContext.init(this);
        FlowManager.init(this);
    }

    public static QApplication getInstance(){
        return  AppContext.mInstance;
    }

    public static Resources getResource(){
        return  AppContext.mResource;
    }

    public static Handler uiHandler(){
        return  AppContext.mHandler;
    }
    //adb shell am start -W com.qiao.glod/com.qiao.glod.ui.activity.SplashActivity
}
